// 网关地址
const baseUrl = 'http://127.0.0.1:8000'

// 转发配置
module.exports = {
  proxyList: {
    '/auth': {
      target: baseUrl,
      changeOrigin: true,
      pathRewrite: {
        '^/auth': '/auth'
      }
    },
    '/admin': {
      target: baseUrl,
      changeOrigin: true,
      pathRewrite: {
        '^/admin': '/admin'
      }
    },
    '/zuul': {
      target: baseUrl,
      changeOrigin: true,
      pathRewrite: {
        '^/zuul': '/zuul'
      }
    },
    '/exam': {
      target: baseUrl,
      changeOrigin: true,
      pathRewrite: {
        '^/exam': '/exam'
      }
    }
  }
}
